# -*- coding: utf-8 -*-

from core.serializers import CustomModelSerializer
from apps.sys.models import Post


class PostSerializer(CustomModelSerializer):
    """
    字典-序列化器
    """
    class Meta:
        model = Post
        fields = "__all__"
        read_only_fields = ["id"]
